//
//  AppDelegate.swift
//  BW新浪微博
//
//  Created by 静静静 on 15/9/1.
//  Copyright © 2015年 BossKai. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {

        setupApearance()
        
        window = UIWindow(frame: UIScreen.mainScreen().bounds)
        window?.rootViewController = MainTabBarViewController()
        window?.backgroundColor = UIColor.whiteColor()
        window?.makeKeyAndVisible()
        
        return true
    }


    private func setupApearance(){
        UINavigationBar.appearance().tintColor = UIColor.orangeColor()
        UITabBar.appearance().tintColor = UIColor.orangeColor()
    }

}

